package com.hxzy.shop.common.dto.auth.resp;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.List;

/**
 * 功能描述：角色权限
 *
 * @author tonneyyy
 */
@Getter
@Setter
@ToString
public class RoleAuthorityTreeResp {

    @ApiModelProperty("模块id")
    private Long moduleId;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("标记")
    private Boolean mark;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("有值时设置选中的左侧路由，没有值时则为直接显示在左侧")
    private String activeMenu;

    @ApiModelProperty("路由url")
    private String showUrl;

    @ApiModelProperty("子模块")
    private List<RoleAuthorityTreeResp> sonModule;
}
